#{extends 'CRUD/layout.html' /}
 
<ul class="breadcrumb breadcrumb-page">
    <li><a href="@{Application.index}"><i class="fa fa-home"></i> &{'home'}</a></li>
    <li class="active"><a href="@{Peliculas.list()}"><i class="fa fa-archive"></i> &{'listado'}</a> </li>
</ul>

<div class="container">
    
    <div class="panel panel-primary">
        <div class="panel-heading">
            &{'crud.list.title', type.name}
        </div>
   
        <table class='table table-striped'>
            <thead>
                <th>&{'titulo'}</th>
                <th>&{'tipoGenero'}</th>
                <th>&{'duracion'}</th>
                <th>&{'tipoClasificacion'}</th>
                <th>&{'sinopsis'}</th>
                
            </thead>
           
            <tbody>
                <tr>
                </tr>
            </tbody>
            
        </table>
        <div id="crudList" class="${type.name}">
	
	<h2 id="crudListTitle"></h2>
 
	<div id="crudListSearch">
		#{crud.search /}
	</div>
 
        <div id="crudListTable" >
		#{crud.table fields:['titulo','tipoGenero','duracion','tipoClasificacion','sinopsis'] /}
	</div>
	
	<div id="crudListPagination">
		#{crud.pagination /}
	</div>
        
    </div>
        <div class='panel-footer'>
            <p id="crudListAdd">
		<a href="@{blank()}">&{'crud.add', type.modelName}</a>
	</p>
        </div>
	
	
</div>

    
</div>
